package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.CommodityStockRecordDto;
import com.huilian.iotbox.data.dto.StatsCommodityStockRecordDto;
import com.huilian.iotbox.data.vo.CommodityStockRecordVo;
import com.huilian.iotbox.data.vo.StatsCommodityStockRecordVo;

import java.util.List;

/**
 * @author 龙 路 飞
 * @CreateDate: 2023-08-31 15:30
 * @Description:
 */
public interface StatsCommodityStockRecordDao {
    /**
     * 新增
     */
    Integer insertStatsCommodityStockRecord(StatsCommodityStockRecordDto statsCommodityStockRecordDto);

    /**
     * 月统计使用,根据时间查询
     */
    List<StatsCommodityStockRecordVo> findStatsCommodityStockRecordByTime(String startTime,String endTime);

    List<CommodityStockRecordVo> findStatsCommodityStockRecordList(CommodityStockRecordDto commodityStockRecordDto);
}
